# -*- mode: python -*-
a = Analysis(['metadata.py'],
             pathex=['D:\\Anshul\\Project\\video-manager-and-generator'],
             hiddenimports=[],
             hookspath=None,
             runtime_hooks=None)
pyz = PYZ(a.pure)
exe = EXE(pyz,
          a.scripts,
          exclude_binaries=True,
          name='VideoGenerator.exe',
          debug=False,
          strip=None,
          upx=True,
          console=True , icon='logo.ico')

# Include all font files, as a folder named font
dist_tree = Tree('font', prefix = 'font')
# add logo
dist_tree += [('logo.ico', 'logo.ico', 'DATA')]
dist_tree += [('client_secrets.json', 'client_secrets.json', 'DATA')]
dist_tree += [('cacerts.txt', 'cacerts.txt', 'DATA')]

coll = COLLECT(exe,
               a.binaries,
               a.zipfiles,
               a.datas,
               dist_tree,
               strip=None,
               upx=True,
               name='Video-Generator')

# Include all font files, as a folder named font
dist_tree = Tree('font', prefix = 'font')
# add logo
dist_tree += [('logo.ico', 'logo.ico', 'DATA')]
dist_tree += [('client_secrets.json', 'client_secrets.json', 'DATA')]
dist_tree += [('cacerts.txt', 'cacerts.txt', 'DATA')]

